home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / Bitmap / Sources / Defines.k < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.9 KB  |  56 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Defines.k
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef DEFINES_K
  11. #define DEFINES_K
  12.  
  13. #ifndef FWMENU_K
  14. #include "FWMenu.k"
  15. #endif
  16.  
  17. //-------------------------------------------------------------------------------------
  18. // Uncomment the following three lines, and define them appropriately!!
  19. // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
  20. // to be 1.  Otherwise define it to be 0.
  21. // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
  22. // 1 to enable the extensions manager.  Otherwise, define it to be 0.
  23. // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
  24. // define it to be zero.  Note that if your part is scriptable is must support
  25. // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
  26. #define FW_SUPPORTS_EMBEDDING     0
  27. #define FW_SUPPORTS_EXTENSIONS     0
  28. #define FW_SUPPORTS_SCRIPTING     0
  29.  
  30. //-------------------------------------------------------------------------------------
  31. // Icons ID
  32. #define kViewAsIconID            139
  33. #define kAboutIconID            141
  34.  
  35. //-------------------------------------------------------------------------------------
  36. // Menus
  37. #define kMenuBar                1100
  38.  
  39. // ----- Commands -----
  40. #define cHalfSize                FW_kFirstUserCommandID
  41. #define cRealSize                cHalfSize + 1
  42. #define cDoubleSize                cRealSize + 1
  43. #define cFitToFrame                cDoubleSize + 1
  44. #define cRequestFrame            cFitToFrame + 1
  45. #define cRemoveFrame            cRequestFrame + 1
  46.  
  47. //-------------------------------------------------------------------------------------
  48. // About
  49. #define kAbout                    1100
  50.  
  51. //-------------------------------------------------------------------------------------
  52. // Part Info 
  53. #define kPartInfoID                1100
  54.  
  55. #endif
  56.